package com.block.sms.service;

import com.alibaba.fastjson.JSONObject;
import com.block.db.entity.SmsConfigInfo;
import com.block.db.entity.SmsTemplate;
import com.block.sms.dto.SmsBalanceDTO;
import com.block.sms.dto.SmsResultDTO;

public interface ISmsSendService {

    SmsResultDTO sendSms(String mobile, String outId, SmsTemplate smsTemplate, SmsConfigInfo smsConfigInfo, JSONObject codeJson);

    /**
     * 查询账户余额
     */
    SmsBalanceDTO queryBalanceInfo(SmsConfigInfo smsConfigInfo);

}
